Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move calendar initialization to server startup #5037

Merged

Conversation

devinrsmith
Copy link
Member

No description provided.

cpwright
cpwright previously approved these changes Jan 12, 2024
@devinrsmith devinrsmith marked this pull request as ready for review January 12, 2024 23:04
chipkent
chipkent previously approved these changes Jan 12, 2024
Copy link
Member

@chipkent chipkent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. One optional comment.

This will conflict with #5036, so we should try to merge #5036 first, if possible.

@devinrsmith devinrsmith dismissed stale reviews from chipkent and cpwright via 9c8c18b January 13, 2024 00:22
@devinrsmith devinrsmith force-pushed the calendars-dagger-configuration branch from 68859ac to bc49c3e Compare January 16, 2024 17:29
@devinrsmith devinrsmith requested a review from chipkent January 16, 2024 17:29
@devinrsmith devinrsmith requested a review from chipkent January 16, 2024 17:52
import io.deephaven.time.calendar.BusinessCalendar;
import io.deephaven.time.calendar.Calendars;

public final class CalendarsHelper {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test configuration for calendars feels like it is spread all over the place. CalendarsHelper and two different CalendarInit do roughly the same thing in different ways, including the opaque, undocumented noop() method. Is there any reason that all of this logic shouldn't be consolidated into a single Calendars.addCalendarsFromConfiguration() method?

@devinrsmith devinrsmith requested a review from chipkent January 16, 2024 19:40
@devinrsmith devinrsmith merged commit 51546a5 into deephaven:main Jan 16, 2024
19 checks passed
@devinrsmith devinrsmith deleted the calendars-dagger-configuration branch January 16, 2024 21:30
@github-actions github-actions bot locked and limited conversation to collaborators Jan 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants